Chart for WinRT > Chart Features > Performance Optimization > Disabling Chart Optimization |
You can disable chart optimization after it has been set by using the following code:
Visual Basic |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, 2.0) |
C# |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, 2.0); |
You can set it to the default value, NaN, like the following:
Visual Basic |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, double.NaN)
|
C# |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, double.NaN);
|